﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MyAspx.Framework.Common;
namespace WebUI.Base
{
    public class UiBasePage : System.Web.UI.Page
    {
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (Session["myaspxuser"] == null)
            {
                MessageBox.Show(this, "登录过期，跳转到登录页面！");
                Response.Redirect("../../login.aspx");
            }
        }
    }
}